from PyQt5.QtCore import QT_VERSION_STR
from PyQt5.QtWebEngineCore import *

pyqt_version = QT_VERSION_STR
chromium_version = QWebEngineProfile.defaultProfile().settings().value(QWebEngineSettings.JavascriptConsoleEnabled)

print("PyQt version:", pyqt_version)
print("Chromium version:", chromium_version)
